﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class UserControl_notice_mobile_browser : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void btnSmartPhone_Click(object sender, EventArgs e)
    {
        string strUrlOld = Request.QueryString.Get("url");
        Session[basConst.SESSTION_MOBILE_STATUS] = basConst.MOBILE_STATUS_TRUE;
        Response.Redirect("http://touch." + strUrlOld);
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        string strUrlOld = Request.QueryString.Get("url");
        Session[basConst.SESSTION_MOBILE_STATUS] = basConst.MOBILE_STATUS_FALSE;
        Response.Redirect("http://" + strUrlOld);
    }
}